package org.ricks.ioc.utils;

import java.io.Serial;

/**
 * 数据异常类.
 *
 */
public class IocException extends RuntimeException {

    @Serial
    private static final long serialVersionUID = 3959550765618198463L;

    public IocException(Throwable e) {
        super(ExceptionUtil.getMessage(e), e);
    }

    public IocException(String message) {
        super(message);
    }

    public IocException(String message, Throwable e) {
        super(message, e);
    }

}
